<?php

	function smarty_function_print_styles( $params, &$smarty )
	{
        //Scripts::using($params['path'] . PATH_SEP . $params['file']);
        $scripts = Styles::getAll();
        foreach ($scripts as $script) {
            echo '<link rel="stylesheet" type="text/css" href="' . $script . '" />';
        }
		//MetaData::Singleton()->addData( new ScriptData( $params[ 'file' ], $params[ 'path' ] ), $params[ 'key' ] );
	}

?>